package cn.itsource.user.mapper;

import cn.itsource.basic.mapper.BaseMapper;
import cn.itsource.user.domain.User;

public interface UserMapper extends BaseMapper<User> {

    /**
     * 通过手机号码查询用户对象
     * @param phone
     * @return
     */
    User loadByPhone(String phone);


    User loadByLoginInfoId(Long id);
}
